home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SysOp's Arsenal
/
SysOp's Arsenal 1 (Arsenal Computer).ISO
/
wildcat
/
genbbs.bat
< prev
next >
Wrap
DOS Batch File
|
1994-04-02
|
6KB
|
107 lines
: Island Information Systems
:Setup for Passing BAud and Time to events from D'bridge Frontend Mailer.
:This Batch Must be in The Current path for this Machine.
:This batch file is Started from another BAtch file generated by D'Bridge
:called BBS.bat and also must be created in the Current machine path
:The commands for D'bridges dos commands for BBS are as follows
:
:
:echo Set baud=*C >C:\PATH\ BBS.BAT
:ECHO SET TIME=*T >>C:\PATH\ BBS.BAT :More lines can be added to this
:ECHO GENBBS >>C:\PATH\ BBS.BAT :file to allow assigning Comports
:if the mailer is run on more than
:one node. Each line must have two
: >> symbols before the BBS.bat
C:\
:
:Catgen 300/19200
CD\Wildcat\Node1
WILDCAT /B %Baud% %Time%
IF ERRORLEVEL 60 LAST.BAT
IF ERRORLEVEL 50 DOOR.BAT
IF ERRORLEVEL 40 DROPDOS.BAT
IF ERRORLEVEL 35 MESSAGE.BAT
IF ERRORLEVEL 6 KILL.BAT
IF ERRORLEVEL 4 TOP.BAT
IF ERRORLEVEL 2 STAT.BAT
LAST
:END
type Rom.txt :Rom.Txt Go's in the Wildcat Node# Dir
:it is a menu you design with batch file
:commands Listed so others can use
:the machine for functions there allowed
:this isn't needed only a conveinece.
:
:Rem Your front end Mailer must Send MNP codes NOT ARQ
:This can be set from D'bridges Connect Strings
:The connect Strings to be passed to Wildcat are
:
:
:9600 CONNECT 9600|9600
:2400 CONNECT 2400|2400
:1200 CONNECT 1200|1200
:300 CONNECT 300|300
:9600 CONNECT 9600/ARQ|19200/MNP
:2400 CONNECT 2400/ARQ|2400/MNP
:1200 CONNECT 1200/ARQ|1200/MNP
:300 CONNECT 300/ARQ|300/MNP
:
:
:THERE AREN'T ANY 300/MNP Modems I know of but if you have one Just add it
:the same way as the other ARQ-MNP conversions
:The above strings must be entered as showen here into the Dbridge window for
:connect strings and Dbridge will handle the conversion.
:NOTE Im useing an HST type modem on this machine so for the 9600 MNP connect
:I'm takeing for granted that ONLY HST modems will connect to me and since my
:PORT is LOCKED at 19200 im telling Wildcat that it's 19200,There is and area
:here for a problem if your Useing a V32 or a Dual standard. The Problem is
:if a Straight V32 modem connects to Wildcat in MNP mode the user will be
:allowed to use the G-protocols.. this can cause problems with lost carrier
:at worst and loss of data at best some of the newer V42 products should be
:compatible with MNP and hence the G-protocols "SHOULD" work if your not
:SURE just make the code for 9600/ARQ|9600/MNP this way if your locked and
:the remote system is locked the modems will do there thing reguardless of
:what the connect code is telling Wildcat and if there MNP thay get the
:G-Protocols.The V32 Standard states 9600 BAUD period dosn't go into MNP
:or any locking of the comports... This is what the newer V42 modems are
:Upgraded V32 modems so as to allow LOCKING of comports and MNP data
:compression! This is where the new Number V42 comes from
:these new modems are not built to the International Standard with
:Highest comport speed of 9600 and employ MNP as well as Trellis codeing
:thay can't be called True V32's and rightly so Locked comports can supply
:faster data transfers on most connections. This is getting further into
:internal workings of a modem than I wish to really so I'll
:end with this IF you don't have MNP or don't worry about Connect codes.
:The only extra Wildcat allows with an MNP connect is the G-Protocols.
:
:
:The purpose of this batch file is to allow use of all existing errorlevels
:as well as any batch files or events that are currently running on your
:system. When letting Dbridge spawn the bbs you lose control of it and
:Dbridge will always come up after a BBS session. This method allows
:the mailer to exit with *X as your doing now and run down your existing
:mailer batch file to start the BBS, the only change to the Existing
:mailer batch file would be to add the line BBS.BAT for each errorlevel
:exit used to pass to the BBS.It should be the First line in that Module
:of the Mailer bat file. you can also exit with *X96 for all users and freeup
:the other 3 Errorlevels for use in another area of the system.
:Please NOTE ALL batch files should be in the PATH and the same Errorlevel
:CAN NOT be used for ANY OTHER EVENTS....!
:(Mailer.bat,BBS.bat,genbbs.bat)
:BBS.bat is created by Dbridge each time a
:caller passes to the BBS and must be in the path. Dbridge will exit,
:run down the batch file to the correct speed for the user, it will
:convert the ARQ codes from Dbridge to MNP codes for Wildcat than it
:starts the module in the mailer batch file to Run your BBS at that speed.
:The first line is BBS.BAT so it jumps across the path and Runs BBS.bat
:which sets the Enviroment variables of speed and time till next event in
:and runs This batch file GENBBS.BAT. Remember to edit this file to
:reflect your Wildcat Errorlevels, you may also remove ALL these REM lines
:You must also add another line to the end of the of this batch file
:or if exiting with Errorlevel 60 after each call Whatever batch files calls
:the mailer back to REMOVE BBS.BAT after each BBS session or else the mailer
:mailer.bat sees BBS.BAT and try's to start the BBS again.
: the line is IF EXIST c:\dos\BBS.BST DEL BBS.BAT